package com.woniuxy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class FoodVO {
    /**
     * 美食id
     */
    private Integer foodId;

    /**
     * 订单的id
     */
    private Integer foodOrderId;

    private String foodName;
    /**
     * 订单数量
     */
    private Integer number;
    /**
     * 下订单的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;
    /**
     * 单价
     */
    private Double price;
    /**
     * 订单的总价
     */
    private Double total;
    /**
     * 订单状态
     */
    private Integer status;

    /**
     * 房车id
     */
    private Integer carId;
    /**
     * 车牌号
     */
    private String license;

    /**
     * 营地名字
     */
    private String campname;

    /**
     * 定时任务的剩余时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date remainingTime;

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
